import infoList from './tabbar/infoList.api.js'
import tabbar1 from './tabbar/tabbar-1.api.js'
import tabbar2 from './tabbar/tabbar-2.api.js'
import tabbar4 from './tabbar/tabbar-4.api.js'
import tabbar5 from './tabbar/tabbar-5.api.js'
import tabbarmy from './tabbar/tabbar-my.api.js'
import tabbarfee from './tabbar/tabbar-fee.api.js'
const install = (Vue, vm) => {   
	// 将各个定义的接口名称，统一放进对象挂载到vm.$u.api(因为vm就是this，也即this.$u.api)下
	vm.$u.api = Object.assign({},
		infoList(vm),
		tabbar1(vm),
		tabbar2(vm),
		tabbar4(vm),
		tabbar5(vm),
		tabbarmy(vm),
		tabbarfee(vm)
	);
}

export default {
	install
}
